﻿using SqlSugar;
using System;

namespace WebApi.Model
{
    [SugarTable("t_Log")]
    public class Log : PageQueryBase
    {
        /// <summary>
        /// 编号
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int ID { get; set; }
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserID { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 操作表名
        /// </summary>
        public string TableName { get; set; }
        /// <summary>
        /// 操作类型
        /// </summary>
        public string OpeType { get; set; }
        /// <summary>
        /// 操作详情
        /// </summary>
        public string OpeDetail { get; set; }
        /// <summary>
        /// 操作结果
        /// </summary>
        public string OpeResult { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime? AddTime { get; set; }
    }
}
